<?php

/**
 * variedad filter form.
 *
 * @package    plagas
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class variedadFormFilter extends BasevariedadFormFilter
{
  public function configure()
  {
    unset(
      $this['nombre'],
      $this['crtcas'],
      $this['grupo_madurez']
      );

    $this->widgetSchema['cultivo_id'] = new sfWidgetFormDoctrineChoice(array(
        'model' => $this->getRelatedModelName('cultivo'), 'add_empty' => 'Todos'));
  }
}
